package com.usian.apis.admin;


import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;

@Api(value = "频道管理接口文档",tags = "AdchannelController",description = "频道管理API")
public interface AdchannelControllerApi {
    /**
     * 根据名称分页查询频道列表
     * @param dto
     * @return
     */


    ResponseResult findByNameAndPage(ChannelDto channelDto);


    ResponseResult save(AdChannel adChannel);


    ResponseResult update(AdChannel adChannel);


    ResponseResult del(Integer id);

}
